<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="__CSS__/changepa.css">
	<script type="text/javascript" src="__JS__/jquery-3.6.0.min.js"></script>
	<script type="text/javascript" src="__JS__/jquery.validate.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('#upa').validate({
				rules:{
					oldpa:{
						required:true,
						digits:true,
					},
					newpa:{
						required:true,
						digits:true,
					},
				},
				messages:{
					oldpa:{
						required:"<br>请输入旧密码！",
						digits:"错误",
					},
					newpa:{
						required:"<br>请输入新密码！",
						digits:"错误",
					}
				}
			})
		})
	</script>
</head>
<body>
<div>
	<!-- 1903010328 顶部导航栏 -->
	<div id="top">
		<img src="__IMG__/logo.svg">
		<div id="dhl">
		<ul>
			<li><a href="{:url('index/index')}">首页</a></li>
			<li id="ddown">
				<a href="{:url('index/view')}">问答</a>
				<ul id="mk">
				{volist name="sec" id="secRow"}
					<li><a href="{:url('index/view',['sid' => $secRow.s_id])}">{$secRow.s_name}</a></li>
				{/volist}
				</ul>
			</li>
			<li><a href="{:url('index/contact')}">联系我们</a></li>
			<li><a href="{:url('index/me')}">上传头像</a></li>
			<li><a href="{:url('index/changepa')}" style="color:white">修改密码</a></li>
			<li><a href="{:url('User/login')}">登录</a></li>
			<li><a href="{:url('User/reg')}">注册</a></li>
			<li><a href="{:url('User/logout')}">退出</a></li>
		</ul>
		</div>
		<div id="search" style="align-items:center">
			<input type="text" id="ss" value="全站搜索" >
			<img src="__IMG__/ss.png">
		</div>
		<div id="dhla">
		{if(session('?uNick'))}
			<a href=""><img src="__UPLOAD__/{:session('uImg')}"></a>
			<span>欢迎你：{:session('uNick')}</span>
		{/if}
		</div>
	</div>
	<!-- 修改密码 -->
	<div class="change">
		<form action="{:url('index/modipa')}" method="post" id="upa">
		<table>
			<tr>
				<td colspan="2">
					<!-- 头部信息 -->
						<div id="tou">
							<img src="__UPLOAD__/{:session('uImg')}">
							<div id="tou-1">
								<span style="display:flex;line-height:20px;">
									<p style="font-weight:bold;margin-right:20px;">{:session('uNick')}</p>
									<p style="color:#C0C0C0;">{:date('Y-m-d H:i')}
									</p>
								</span>
								<span style="color:#C0C0C0;line-height:20px;">上传用户头像</span>
							</div>
						</div>
				</td>
			</tr>
			<tr>
				<td>昵称</td>
				<td><input type="text" name="nick" value="{:session('uNick')}" readonly="readonly"></td>
			</tr>
			<tr>
				<td>旧密码</td>
				<td><input type="text" name="oldpa"></td>
			</tr>
			<tr>
				<td>新密码</td>
				<td><input type="text" name="newpa"></td>
			</tr>
			<tr>
				<td>再输入一次新密码</td>
				<td><input type="text" name="again"></td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" value="确定修改"/>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>
<!-- 1903010328 底部区域 -->
<div id="foot">
	<div id="ft" style="margin-left: 19%;">
		<div id="ft1-1">
			<img src="__IMG__/gy.png">
			<h3>关于Yii</h3>
		</div>
		<ul>
			<li><a href="">Yii的简介</a></li>
			<li><a href="">Yii的动态</a></li>
			<li><a href="">Yii的特性</a></li>
			<li><a href="">Yii的性能</a></li>
			<li><a href="">Yii的许可</a></li>
		</ul>
	</div>
	<div id="ft1">
		<div id="ft1-1">
			<img src="__IMG__/wd.png">
			<h3>文档手册</h3>
		</div>
		<ul>
			<li><a href="">中文文档</a></li>
			<li><a href="">框架下载</a></li>
			<li><a href="">中文教程</a></li>
			<li><a href="">安装扩展</a></li>
			<li><a href="">优秀源码</a></li>
		</ul>
	</div>
	<div id="ft1">
		<div id="ft1-1">
			<img src="__IMG__/zy.png">
			<h3>网站资源</h3>
		</div>
		<ul>
			<li><a href="">网站问答</a></li>
			<li><a href="">网站讨论</a></li>
			<li><a href="">用户案例</a></li>
			<li><a href="">视频教程</a></li>
			<li><a href="">会员排行</a></li>
		</ul>
	</div>
	<div id="ft2">
		<div id="ft1-1">
			<img src="__IMG__/js.png">
			<h3>技术学习</h3>
		</div>
		<ul>
			<li><a href="">① 4241653</a><span style="color:red">(已满)</span><a href="">② 4829703</a><span style="color:red">(已满)</span></li>
			<li><a href="">③ 4958407</a><span style="color:green">(未满)</span><a href="">④ 5476028</a><span style="color:green">(未满)</span></li>
			<li><a href="">⑤ 5478523</a><span style="color:red">(已满)</span><a href="">⑥ 5604716</a><span style="color:red">(已满)</span></li>
			<li><a href="">⑦ 5629416</a><span style="color:red">(已满)</span><a href="">⑧ 6419794</a><span style="color:red">(已满)</span></li>
			<li><a href="">⑨ 7415106</a><span style="color:red">(已满)</span><a href="">⑩ 7594839</a><span style="color:red">(已满)</span></li>
		</ul>
	</div>
	<div id="ft3" style="line-height:0.5px">
		<div id="ft1-1" style="margin-top:17px">
			<img src="__IMG__/lx.png">
			<h3>关注我们</h3>
		</div>
		<ul>
			<li><img src="__IMG__/vb1.png">Yii 中文网</li>
			<li><a href="">http://weibo.com/yiichina</a></li>
			<li><img src="__IMG__/git.png">Yii China</li>
			<li><a href="">https://github.com/yiichina</a></li>
		</ul>
	</div>
</div>
<div id="footer">
	<span style="float:left;margin-left:15%">
		Copyright © 2009-2021 by <a href="">Yii China.</a>All Rights Reserved
	</span>
	<span  style="float:right;margin-right:15%">
		技术支持<a href="">Yii 框架 </a>2.0.35.京ICP备09104811号-3 站长统计 <a href="">友情链接</a>
	</span>
</div> 

</body>

</html>